/*** Eclipse Class Decompiler plugin, copyright (c) 2012 Chao Chen (cnfree2000@hotmail.com) ***/
package com.qihoo.psdk;

import android.content.Context;
import com.qihoo.psdk.util.i;

class m extends Thread {
    public void run() {
        try {
            sleep(5000L);
            com.qihoo.psdk.util.h.a(k.a(), "hasRegister: " + i.b(this.a, "hasRegister", "") + ", update: " + f.b());
            String str = "";
            boolean bool = false;
            if (!(i.b(this.a, "hasRegister", "").equals("true"))) {
                str = h.b(this.a, this.b);
                bool = k.a(this.a, str, false);
                i.a(this.a, "hasRegister", bool);
                f.a();
                return;
            }
            if (!(f.b()))
                return;
            str = h.b(this.a, this.b);
            bool = k.a(this.a, str, false);
            if (!(bool))
                return;
            f.a();
        } catch (Exception localException) {
            com.qihoo.psdk.util.h.a(k.a(), localException);
        }
    }
}